package site.qjdb.pojo;

import java.util.Date;

/**
 * 	求购信息
 * 
 */
public class Want {
	private Integer wid; // 求购信息id
	private User user; // 发布求购信息的用户
	private String content; // 求购信息内容
	private Date time; // 发布时间
	private Integer likeCount; // 点赞数
	private Integer isDel; // 是否删除，0：未删除，1：已删除
	private Integer replyCount; // 回复数

	public Want() {
	}

	public Integer getWid() {
		return wid;
	}

	public void setWid(Integer wid) {
		this.wid = wid;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Integer getReplyCount() {
		return replyCount;
	}

	public void setReplyCount(Integer replyCount) {
		this.replyCount = replyCount;
	}

	@Override
	public String toString() {
		return "Want [wid=" + wid + ", user=" + user + ", content=" + content + ", time=" + time + ", likeCount="
				+ likeCount + ", isDel=" + isDel + ", replyCount=" + replyCount + "]";
	}

}
